package com.example.siyun.pojo;

import java.util.Date;
/**
 * @Auther: 全
 * @Date: 2022/10/2 19:54
 * @Description: 登录日志表
 */
public class Loginlog {
    private int id;
    /* 用户id */
    private Integer userId;
    /* 用户登录IP */
    private String loginIp;
    /* 登录地址 */
    private String loginLocation;
    /* 登录状态 */
    private int loginState;
    /* 登录日期 */
    private Date loginDate;
    /* 登录类型 */
    private int loginType;
    /* 登录姓名 */
    private String loginname;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getLoginLocation() {
        return loginLocation;
    }

    public void setLoginLocation(String loginLocation) {
        this.loginLocation = loginLocation;
    }

    public int getLoginState() {
        return loginState;
    }

    public void setLoginState(int loginState) {
        this.loginState = loginState;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public int getLoginType() {
        return loginType;
    }

    public void setLoginType(int loginType) {
        this.loginType = loginType;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    @Override
    public String toString() {
        return "Loginlog{" +
                "id=" + id +
                ", userId=" + userId +
                ", loginIp='" + loginIp + '\'' +
                ", loginLocation='" + loginLocation + '\'' +
                ", loginState=" + loginState +
                ", loginDate=" + loginDate +
                ", loginType=" + loginType +
                ", loginname='" + loginname + '\'' +
                '}';
    }
}
